<template>
  <div class="accountsetcity">
    <el-form :inline="true">
      <el-form-item label="征地模块：">
        <el-select v-model="value" placeholder="请选择">
          <el-option
            v-for="item in params"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="申请单：">
        <el-select v-model="value1" placeholder="请选择">
          <el-option
            v-for="item in options"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button plain @click="handleChange">查询</el-button>
        <el-button plain>申请</el-button>
        <el-button class="el-icon-printer" plain>打印</el-button>
      </el-form-item>
    </el-form>
    <div v-show="showBack">
      <el-table
        :data="tableData"
        border
        style="width: 1866px"
        :header-cell-style="{ 'text-align': 'center' }"
        :cell-style="{ 'text-align': 'center' }"
        :row-style="{ padding: '0' }"
      >
        <el-table-column type="selection" width="55"> </el-table-column>
        <el-table-column prop="name" fixed="left" label="姓名" width="120" />
        <el-table-column prop="province" label="身份证号" width="120" />
        <el-table-column prop="city" label="结算金额" width="120" />
        <el-table-column prop="address" label="账户余额" width="130" />
        <el-table-column prop="zip" label="利息" width="120" />
        <el-table-column prop="zip" label="利息截止日期" width="120" />
        <el-table-column prop="zip" label="利率" width="120" />
        <el-table-column prop="zip" label="备注" width="120" />
        <el-table-column prop="zip" label="操作员" width="120" />
        <el-table-column prop="zip" label="操作时间" width="120" />
        <el-table-column prop="zip" label="审核人" width="120" />
        <el-table-column prop="zip" label="审核时间" width="120" />
        <el-table-column prop="zip" label="审核状态" width="120" />
        <el-table-column prop="zip" label="财务人员" width="120" />
        <el-table-column prop="zip" label="到账时间" width="120" />
      </el-table>
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page.sync="currentPage3"
        :page-size="100"
        layout="prev, pager, next, jumper"
        :total="this.tableData.length"
      >
      </el-pagination>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {
      msg: "账户结算制单（城居保）",
      options: [],
      value1: "",
      params: [], // 征地项目
      value: "",
      tableData: [],
      showBack: false,
      currentPage3: 1,
    };
  },
  methods: {
    handleChange() {
      this.showBack = true;
    },
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    },
  },
};
</script>

<style scoped lang="scss">
.accountsetcity {
  padding: 30px;
  .el-pagination {
    max-width: 1811px;
    text-align: right;
  }
}
</style>
